package demo3;

/**
 * 2023/7/12 19:38
 **/
public class Employee {
    private String name;
    private String address;
    private double baseSalary;
    public  Employee(){};
    public Employee(String name, String address, double baseSalary) {
        this.name = name;
        this.address = address;
        this.baseSalary = baseSalary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getBaseSalary() {
        return baseSalary;
    }

    public void setBaseSalary(double baseSalary) {
        this.baseSalary = baseSalary;
    }

    public void show() {
        System.out.println("Name: " + name);
        System.out.println("Address: " + address);
        System.out.println("Base Salary: " + baseSalary);
    }
}
